Models = Models || {};
(function(){
	Models.Department = function(id, name){
		this.id = id;
		this.name = name;
		var employees = new Collections.List();
		
		Models.Department.prototype.addEmployee = function(name, gender, email){
			var emp = new Models.Employee(name, gender, email);
			employees.addHead(emp);
		};
		Models.Department.prototype.getEmployees = function(){
			return employees.toArray();
		};
	}
})();
